﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ExtensibleEventViewer.Console.Forms
{
	public partial class FilterSettingsWnd : Form
	{
		public FilterSettingsWnd(Control settingsControl)
		{
			InitializeComponent();

			panelSettingsControlContainer.Size = settingsControl.Size;
			panelSettingsControlContainer.Controls.Add(settingsControl);
		}

		private void btnSave_Click(object sender, EventArgs e)
		{
			DialogResult = DialogResult.OK;
			
			Close();
		}

		private void btnCancel_Click(object sender, EventArgs e)
		{
			DialogResult = DialogResult.Cancel;

			Close();
		}
	}
}
